import http from '@/common/http'

export const login = (params) => {
  const url = `sys/login`
  return http.post(url,
    params
  )
}

export const loginOut = (params) => {
  const url = `sys/logout`
  return http.get(url)
}
